<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="${request.getContextPath()}/RpmRtm/rpmRtmTwo" method="post">
        <div class="bjui-searchBar">
            <g:hiddenField name="SYS_QUERY_NAME" value="rpmRtmTwo" />
            <g:hiddenField name="EXPORT_CONTENT_NAME" value="Excel" />
            <g:hiddenField name="lotId" value="${params.lotId}" />
            <g:hiddenField name="step" value="${params.step}" />

            <button type="submit" class="btn-default" data-icon="search">查询</button>&nbsp;
            <button type="button" class="btn-blue" onclick="javascript:bjuiExportExl('#pagerForm','${request.getContextPath()}/RpmRtm/exportExcel')" data-icon="file-excel-o" title="导出Excel">导出</button>&nbsp;
        </div>
    </form>
</div>

<div class="bjui-pageContent tableContent">
    <g:if test="${rpmRtmTwo.size() > 0}">
    </g:if>
    <div style="margin:15px auto; width:96%;">
        <div class="row" style="padding: 0px 0px;">
            <div class="col-md-12" >
                <g:if test="${rpmRtmTwo.size() > 0}">
                    <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
                        <thead>
                        <tr>
                            <g:each in="${tableHeadList}" status="i" var="headInstance">
                                <g:if test="${headInstance != 'RN'}">
                                    <th><g:message code="${headInstance}" default="${headInstance}"/></th>
                                </g:if>
                            </g:each>
                        </tr>
                        </thead>
                        <tbody>
                        <g:each in="${rpmRtmTwo}" status="i" var="dataInstance">
                            <tr>
                                <g:each in="${tableHeadList}" status="j" var="headInstance">
                                    <g:if test="${headInstance != 'RN'}">
                                        <td>${dataInstance["${headInstance}"]}</td>
                                    </g:if>
                                </g:each>
                            </tr>
                        </g:each>
                        </tbody>
                    </table>
                </g:if>
                <g:else>
                    <g:render template="../template/emptyPanel"/>
                </g:else>
            </div>
        </div>
    </div>
</div>


